package cn.com.yx.ms.persistence;

import cn.com.yx.ms.application.web.ApiQueryBase;
import cn.com.yx.ms.domain.auth.LicenseModel;
import cn.com.yx.ms.domain.dbmodel.AuthClientLicense;
import cn.com.yx.ms.domain.dbmodel.DevEquStore;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuthClientLicenseMapper {
    int deleteByPrimaryKey(String guid);

    int insert(AuthClientLicense record);

    int insertSelective(AuthClientLicense record);

    AuthClientLicense selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(AuthClientLicense record);

    int updateByPrimaryKeyWithBLOBs(AuthClientLicense record);

    int updateByPrimaryKey(AuthClientLicense record);

    List<LicenseModel> findLicenseModel(ApiQueryBase query);

    List<AuthClientLicense> findAll();

    String getMaxOrderNo(@Param("tableName") String tableName, @Param("colName") String colName, @Param("moduleName") String moduleName, @Param("currentDate") String currentDate);

    List<AuthClientLicense> findUnBindLicenses();


}